package com.example.exammaster.pojo;

public class comment {

    private int id;
    private int topicId;
    private String img;
    private String comment;
    private  String date;
    private String submitImg;

    public comment(int id, int topicId, String img, String comment, String date,String submitImg) {
        this.id = id;
        this.topicId = topicId;
        this.img = img;
        this.comment = comment;
        this.date = date;
        this.submitImg = submitImg;
    }

    public comment() {
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setTopicId(int topicId) {
        this.topicId = topicId;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public int getId() {
        return id;
    }

    public int getTopicId() {
        return topicId;
    }

    public String getImg() {
        return img;
    }

    public String getComment() {
        return comment;
    }

    public String getDate() {
        return date;
    }

    public String getSubmitImg() {
        return submitImg;
    }

    public void setSubmitImg(String submitImg) {
        this.submitImg = submitImg;
    }

    @Override
    public String toString() {
        return "comment{" +
                "id=" + id +
                ", topicId=" + topicId +
                ", img='" + img + '\'' +
                ", comment='" + comment + '\'' +
                ", date='" + date + '\'' +
                ", submitImg='" + submitImg + '\'' +
                '}';
    }
}
